In the Control Panel >> Statistics >> Product Notifications you can manually send the warning to all customers who want to be notified when the product returns to inventory.
In the Control Panel >> Tools >> Email Templates you can create the notification e-mail to the clients.
At the Control Panel >> Catalog >> When you edit a product below the quantity you can automatically notify all customers who want to be notified when the product returns to inventory.